package com.ibeeking.found.id.api.common.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 会员卡号规则
 *
 * @Author ibeeking
 */
@Data
public class NoRuleDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 规则名称
     */
    private String ruleName;

    /**
     * 规则内容
     */
    private String ruleValue;
    /**
     * 规则项
     */
    //@NotNull(message = "请选择号码取数规则项")
    private Integer ruleItem;
    /**
     * 位数
     */
    private Integer length;

    /**
     * 排序
     */
    //@NotNull(message = "规则顺序不能为空")
    private Integer sort;
}
